package com.gxa.mapper;

import com.gxa.entity.DistrictSysContatanalysis;

import java.util.Date;
import java.util.List;

public interface CloseContactAnalysisMapper {
    /**
     * 查询今日密接人员总数
     * @param currentDate
     * @return
     */
    int findTodayContactNum(Date currentDate);

    /**
     * 查询今日待核实人数
     * @param currentDate
     * @return
     */
    int findTodayVerificationNum(Date currentDate);

    /**
     * 查询今日居家医学观察中人数
     * @param currentDate
     * @return
     */
    int findTodayObservationNum(Date currentDate);

    /**
     * 查询待转运人数
     * @param currentDate
     * @return
     */
    int findTodayTransferNum(Date currentDate);

    /**
     * 查询排查转归人数
     * @param currentDate
     * @return
     */
    int findTodayTroubleshootingNum(Date currentDate);

    /**
     * 查询待隔离点接收人数
     * @param currentDate
     * @return
     */
    int findTodayReceiveNum(Date currentDate);

    /**
     * 查询今日隔离点隔离人数
     * @param currentDate
     * @return
     */
    int findTodayIsolationNum(Date currentDate);

    /**
     * 查询居家监测中人数
     * @param currentDate
     * @return
     */
    int findTodayHomeNum(Date currentDate);

    /**
     * 查询今日解除隔离人数
     * @param currentDate
     * @return
     */
    int findTodayRemovalNum(Date currentDate);

    /**
     * 增加今日密接人员分析表
     * @param districtSysContatanalysis
     * @return
     */
    int addTodayCloseContactAnalysis(DistrictSysContatanalysis districtSysContatanalysis);

    /**
     * 查询密接人员分析表
     * @return
     */
    List<DistrictSysContatanalysis> findCloseContactAnalysisList();

    /**
     * 根据日期查询当日密接人员分析表
     * @param currentDate
     * @return
     */
    List<DistrictSysContatanalysis> findCloseContactAnalysisListByDate(Date currentDate);
}
